<!--
  Generated template for the UnitPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-toolbar>
    <button ion-button menuToggle left="">
    </button>
    <ion-title style="text-align: center">部件</ion-title>
    <button ion-button menuToggle right (click)="goCollectUnit()">
     采集
    </button>
  </ion-toolbar>

</ion-header>

<ion-content>
  <ion-list *ngFor="let item of data">
    <ion-card  (click)="goDetail(item)">
      <ion-item>
        <ion-label>编号： {{item.id}}</ion-label>
      </ion-item>
      <ion-item>
        <ion-label>姓名： {{item.name}}</ion-label>
      </ion-item>
    </ion-card>
  </ion-list>
</ion-content>
